#include <Render/Include/RenderObjectDX9.h>


RenderObjectDX9::RenderObjectDX9(LPD3DXMESH p_mesh, LPD3DXBUFFER p_adjacency_buffer)
{
    this->p_mesh = p_mesh;
    this->p_adjacency_buffer = p_adjacency_buffer;
}


RenderObjectDX9::~RenderObjectDX9(void)
{
    this->p_mesh->Release();
    this->p_adjacency_buffer->Release();
}

LPD3DXMESH RenderObjectDX9::getLPD3DXMESH()
{
    return this->p_mesh;
}
